Builder

class Builder

Builder class for creating instances of SearchCriteria.

This Builder class provides an API for configuring the search criteria.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Constructs a SearchCriteria instance with the provided search criteria settings.

Link copied to clipboard
fun setAddQueryAsContactWithEmailToResult(addQueryAsContactWithEmailToResult: Boolean): SearchCriteria.Builder

Sets whether to add the query as a contact with an email to the search result.

fun setAddQueryAsContactWithPhoneNumberToResult(addQueryAsContactWithPhoneNumber: Boolean): SearchCriteria.Builder

Sets whether to add the query as a contact with the phone number to the search result.

Link copied to clipboard
fun setSearchChannels(searchChannels: Boolean): SearchCriteria.Builder

Sets whether to search channels.

Link copied to clipboard
fun setSearchCompanies(searchCompanies: Boolean): SearchCriteria.Builder

Sets whether to search companies.

Link copied to clipboard
fun setSearchCompanyDirectoryContacts(searchCompanyDirectoryContacts: Boolean): SearchCriteria.Builder

Sets whether to search contacts by name in the company directory.

Link copied to clipboard

Sets the company ID in which to perform the directory search.

Link copied to clipboard
fun setSearchGroups(searchGroups: Boolean): SearchCriteria.Builder

Sets whether to search groups.

Link copied to clipboard
fun setSearchHuntingGroups(searchHuntingGroups: Boolean): SearchCriteria.Builder

Sets whether to search hunting groups.

Link copied to clipboard
fun setSearchLocalByEmail(searchLocalByEmail: Boolean): SearchCriteria.Builder

Sets whether to search local or cached contact by email.

Link copied to clipboard
fun setSearchLocalContacts(searchLocalContacts: Boolean): SearchCriteria.Builder

Sets whether to search local or cached contacts by name.

Link copied to clipboard
fun setSearchOffice365(searchOffice365: Boolean): SearchCriteria.Builder

Sets whether to search contacts in Office 365.

Link copied to clipboard
fun setSearchOtherCompaniesDirectoryContacts(searchOtherCompaniesDirectoryContacts: Boolean): SearchCriteria.Builder

Sets whether to search contacts by name in other companies directories.

Link copied to clipboard
fun setSearchP2PConversations(searchP2PConversations: Boolean): SearchCriteria.Builder

Sets whether to search peer to peer conversations.

Link copied to clipboard
fun setSearchPhoneBook(searchPhoneBook: Boolean): SearchCriteria.Builder

Sets whether to search contacts in the phone book.

Link copied to clipboard
fun setSearchRainbowContacts(searchRainbowContacts: Boolean): SearchCriteria.Builder

Sets whether to search Rainbow contacts by name.

Link copied to clipboard
fun setSearchRainbowContactsByTags(searchRainbowContactsByTags: Boolean): SearchCriteria.Builder

Sets whether to search Rainbow contacts by tags.

Link copied to clipboard

Sets the search result filter.

Link copied to clipboard
fun setSearchRoomConversations(searchRoomConversations: Boolean): SearchCriteria.Builder

Sets whether to search room conversations.

Link copied to clipboard
fun setSearchRooms(searchRooms: Boolean): SearchCriteria.Builder

Sets whether to search rooms by name.

Link copied to clipboard
fun setSearchRoomsByParticipants(searchRoomsByParticipants: Boolean): SearchCriteria.Builder

Sets whether to search rooms by participants name.

Link copied to clipboard
fun setSearchRoomsByTags(searchRoomsByTags: Boolean): SearchCriteria.Builder

Sets whether to search room by tags.

Link copied to clipboard
fun setSearchTextInConversations(searchTextInConversations: Boolean): SearchCriteria.Builder

Sets whether to search text in conversations.